package jp.co.apl.haven.ao.entity;

import java.util.Date;

import net.java.ao.Entity;
import net.java.ao.Preload;
import net.java.ao.schema.NotNull;
import net.java.ao.schema.Table;

@Table("answer")
@Preload({ "terminalId", "questionId", "answer", "answeredDate" })
public interface AnswerEntity extends Entity {

    @NotNull
    String getTerminalId();

    void setTerminalId();

    @NotNull
    Integer getQuestionId();

    void setQuestionId(Integer questionId);

    @NotNull
    String getAnswer();

    void setAnswer();

    Date getAnsweredDate();

    void setAnsweredDate(Date answeredDate);

}
